﻿<Window x:Class="MultipleMonitorVideo.Views.OverlayInfoView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:viewModels="clr-namespace:MultipleMonitorVideo.ViewModels"
        Title="OverlayInfoView" Width="1920" Height="1080"
        ResizeMode="NoResize" WindowStyle="None"
        AllowsTransparency="True">
    <Window.DataContext>
        <viewModels:OverlayInfoViewModel/>
    </Window.DataContext>
    <Grid>
        <MediaElement Name="Video" Source="{Binding FileName}"
                      LoadedBehavior="Manual" UnloadedBehavior="Stop" Volume="0"
                      MediaOpened="Video_OnMediaOpened" MediaEnded="Video_OnMediaEnded"></MediaElement>
        <TextBlock Name="OverlayTextBox" Text="{Binding OverlayText}" VerticalAlignment="Bottom"
                   Panel.ZIndex="10" Width="1920" Height="200" Background="White" FontSize="100" Opacity="0.5"/>
    </Grid>
</Window>
